﻿using System;
using cz.zcu.PreSti;
using cz.zcu.PreSti.Components;

namespace cz.zcu.PreSti.Components.Sample
{
    public class SampleStimulus : RunnableComponent
    {

        public SampleStimulus(IPresentation p)
            : base(p, 1, 1, 6, 0)
        {
            Priority = 5;
            Finished += new EventHandler(onFinished);
        }

        #region parameters


        #endregion

        public override void update()
        {
        }

        public override void draw()
        {
        }

        private void onFinished(object sender, EventArgs e)
        {
            trigOut(0);
        }

        public override void setValueToSetter(int setterN, object value)
        {
            base.setValueToSetter(setterN, value);
        }
    }
}
